package com.rd.student.jiaji.class4.suyan;

public class Student {
    private String name;
    private String clas;
    private String introduce;
    private int age;
    private String description;
    public void clas(String clas){

    }
    public  void introduce(String introduce){

    }
    public void age(int age){

    }

    public Student() {
    }

    public Student(String name, String clas, String introduce,int age) {
        this.name = name;
        this.clas = clas;
        this.introduce = introduce;
        this.age=age;
    }
    public int getAge(){
        return age;
    }
    public void setAge(int age){

    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getClas() {
        return clas;
    }

    public void setClas(String clas) {
        this.clas = clas;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }
    public void showinfo(){
        System.out.println("姓名是："+name+"专业是："+introduce+",班级是："+clas+",年龄是:"+age);
    }
}
